import { createApp } from 'vue'
import App from './App.vue'
import router from './router'

// 1. 引入你需要的组件
import vant from 'vant';
// 2. 引入组件样式
import 'vant/lib/index.css';

// import 'amfe-flexible'

import Swiper from '@/components/Swiper.vue'
import NavBar from './components/NavBar.vue';

import '@/mock/index'

import lazyPlugin from 'vue3-lazy'

createApp(App).use({
  loading: '',
}).component('Swiper',Swiper).component('NavBar',NavBar).use(vant).use(router).mount('#app')
